<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/10/31
  Time: 9:54
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>测试页面</title>
  </head>
  <body>
    今天天气真好!
    <form action="/ServletDemo1_war_exploded/test" method="get">
      <input type="submit" value="跳转" />
    </form>

  <%
      String name = (String)request.getAttribute("name");
      Integer i = (Integer) request.getAttribute("age");

      response.getWriter().write(name + " : " + i);

  %>
  </body>
</html>
